#include "Monster.h"
#include "CommonDefine.h"

int Monster::HandleMessage(Object* pSender, MST eType, void* pExtData)
{
	switch (eType)
	{
	case MST_ATK:
		_BeAttack(pSender);
		break;
	default:
		break;
	}

	return 0;
}

int Monster::_BeAttack(Object* pAttacker)
{
	cout << pAttacker->GetObjectID() << "atk me" << endl;
	CostHp(1);
	if (IsDead())
	{
	}
	else
	{

	}

	return 0;
}

